<!DOCTYPE html>
<html>
<head>
    <title>用户中心</title>
    <style>
        body { font-family: Arial; text-align: center; margin-top: 50px }
        .user-info { background: #f5f5f5; padding: 20px; border-radius: 5px; max-width: 400px; margin: 0 auto }
    </style>
</head>
<body>
    <div class="user-info">
        <h1 id="welcome-message"></h1>
        <p>您的UID: <span id="uid-display"></span></p>
        <p><a href="/">返回登录页面</a></p>
    </div>
    
    <script>
        const urlParams = new URLSearchParams(window.location.search);
        const username = urlParams.get('username');
        const uid = urlParams.get('uid');
        
        document.getElementById('welcome-message').textContent = `欢迎, ${decodeURIComponent(username || '用户')}!`;
        document.getElementById('uid-display').textContent = uid || '未知';
    </script>
</body>
</html>